<%@ page import="javax.servlet.http.HttpSession" %>

<%

	//session.setAttribute("SESSION_ID", null);

	//request.setParameter("SESSION_ID","exit");
	//System.out.println("exx id  lg1..." + request.getParameter("SESSION_ID"));
	session.invalidate();
	//System.out.println("exx id.lg2.." + request.getParameter("SESSION_ID"));
	/*request.getSession().invalidate();

	HttpSession eddiSession = request.getSession(true);
	 eddiSession.invalidate();


	response.setHeader("Cache-Control","no-cache");
	response.setHeader("Expires", "0");
		response.setHeader("Pragma", "No-cache");
		response.addHeader("Cache-control", "no-store"); // tell proxy not to cache
		response.addHeader("Cache-control", "max-age=0"); // stale right away*/
		//session.setAttribute("SESSION_ID", null);

	//System.out.println("session id in lg" + session.getId());
	response.sendRedirect("LoginPage.jsp");
%>